package org.edu.modules.kaoqin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.edu.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("ve_hr_kaoqin")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "考勤表", description = "考勤表")
public class VeHrKaoqin implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键、自增长
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键、自增长")
    private String id;
    /**
     * 教师id
     */
//    @Excel(name = "教师id", width = 15)
    @ApiModelProperty(value = "教师id")
    private String teacherid;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    @ApiModelProperty(value = "工号")
    private String gh;
    /**
     * 教师姓名
     */
    @Excel(name = "教师姓名", width = 15)
    @ApiModelProperty(value = "教师姓名")
    private String jsxm;
    /**
     * 学期id
     */
    @Dict(dictTable = "ve_base_semester", dicText = "XQMC", dicCode = "id")
    @Excel(name = "学期id", width = 15)
    @ApiModelProperty(value = "学期id")
    private Integer semid;
    /**
     * 出勤次数
     */
    @Excel(name = "出勤次数", width = 15)
    @ApiModelProperty(value = "出勤次数")
    private Integer cqcs = 0;
    /**
     * 旷课次数
     */
    @Excel(name = "旷课次数", width = 15)
    @ApiModelProperty(value = "旷课次数")
    private Integer kkcs = 0;
    /**
     * 迟到次数
     */
    @Excel(name = "迟到次数", width = 15)
    @ApiModelProperty(value = "迟到次数")
    private Integer cdcs = 0;
    /**
     * 早退次数
     */
    @Excel(name = "早退次数", width = 15)
    @ApiModelProperty(value = "早退次数")
    private Integer ztcs = 0;
    /**
     * 请假次数
     */
    @Excel(name = "请假次数", width = 15)
    @ApiModelProperty(value = "请假次数")
    private Integer qjcs = 0;
    /**
     * 记勤次数
     */
    @Excel(name = "记勤次数", width = 15)
    @ApiModelProperty(value = "记勤次数")
    private Integer jqcs = 0;
    /**
     * 系统ID
     */
//    @Excel(name = "系统ID", width = 15)
    @ApiModelProperty(value = "系统ID")
    private Integer terminalid;
    /**
     * createTime
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
}
